//
//  HomeJoinCollectionViewCell.swift
//  jiahui
//
//  Created by 3tee on 2024/11/29.
//

import UIKit

class HomeJoinCollectionViewCell: UICollectionViewCell {

    @IBOutlet weak var titleLab: UILabel!
    
    @IBOutlet weak var iconImgV: UIImageView!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        backgroundColor = .systemGray6
    }
    func updateCell(dic: [String:String]){
        if let title = dic["title"]{
            titleLab.text = title
        }
        if let icon = dic["img"] {
            iconImgV.image = UIImage(named: icon)
        }
    }
   
}
